package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TNucleateOvertimeMapper;
import com.ruoyi.system.domain.TNucleateOvertime;
import com.ruoyi.system.service.ITNucleateOvertimeService;

/**
 * 核酸超时管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-10-18
 */
@Service
public class TNucleateOvertimeServiceImpl implements ITNucleateOvertimeService 
{
    @Autowired
    private TNucleateOvertimeMapper tNucleateOvertimeMapper;

    /**
     * 查询核酸超时管理
     * 
     * @param id 核酸超时管理主键
     * @return 核酸超时管理
     */
    @Override
    public TNucleateOvertime selectTNucleateOvertimeById(Long id)
    {
        return tNucleateOvertimeMapper.selectTNucleateOvertimeById(id);
    }

    /**
     * 查询核酸超时管理列表
     * 
     * @param tNucleateOvertime 核酸超时管理
     * @return 核酸超时管理
     */
    @Override
    public List<TNucleateOvertime> selectTNucleateOvertimeList(TNucleateOvertime tNucleateOvertime)
    {
        return tNucleateOvertimeMapper.selectTNucleateOvertimeList(tNucleateOvertime);
    }

    /**
     * 新增核酸超时管理
     * 
     * @param tNucleateOvertime 核酸超时管理
     * @return 结果
     */
    @Override
    public int insertTNucleateOvertime(TNucleateOvertime tNucleateOvertime)
    {
        return tNucleateOvertimeMapper.insertTNucleateOvertime(tNucleateOvertime);
    }

    /**
     * 修改核酸超时管理
     * 
     * @param tNucleateOvertime 核酸超时管理
     * @return 结果
     */
    @Override
    public int updateTNucleateOvertime(TNucleateOvertime tNucleateOvertime)
    {
        return tNucleateOvertimeMapper.updateTNucleateOvertime(tNucleateOvertime);
    }

    /**
     * 批量删除核酸超时管理
     * 
     * @param ids 需要删除的核酸超时管理主键
     * @return 结果
     */
    @Override
    public int deleteTNucleateOvertimeByIds(Long[] ids)
    {
        return tNucleateOvertimeMapper.deleteTNucleateOvertimeByIds(ids);
    }

    /**
     * 删除核酸超时管理信息
     * 
     * @param id 核酸超时管理主键
     * @return 结果
     */
    @Override
    public int deleteTNucleateOvertimeById(Long id)
    {
        return tNucleateOvertimeMapper.deleteTNucleateOvertimeById(id);
    }
}
